//
//  APNavigationViewController.m
//  TestPrj
//
//  Created by 朱铅峰 on 2020/5/6.
//  Copyright © 2020 Xing. All rights reserved.
//

#import "APNavigationViewController.h"

@interface APNavigationViewController ()

@end

@implementation APNavigationViewController

- (UIStatusBarStyle)preferredStatusBarStyle {
    
    return UIStatusBarStyleLightContent;
}

- (void)viewDidLoad {
    
    [super viewDidLoad];
}

- (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated {
    
    if (self.viewControllers.count>0) {
        viewController.hidesBottomBarWhenPushed = YES;
    }
    
    [super pushViewController:viewController animated:animated];
}

@end
